package com.ypx.ec.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ypx.ec.common.utils.PageUtils;
import com.ypx.ec.product.entity.CategoryEntity;
import com.ypx.ec.product.vo.Catelog2Vo;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author yepinxi
 * @email 1554039596@qq.com
 * @date 2022-03-10 16:57:27
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    List<CategoryEntity> listTree();

    Long[] findCateLogPath(Long catelogId);

    void update(CategoryEntity category);

    List<CategoryEntity> getLevel1();

    Map<String, List<Catelog2Vo>> getCatelogJson();
}

